package com.chenxi.vhr.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

import lombok.Data;

/**
 * 员工表
 * @TableName vhr_employee
 */
@TableName(value ="vhr_employee")
@Data
public class VhrEmployee implements Serializable {
    /**
     * 员工编号
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 员工姓名
     */
    @TableField(value = "name")
    private String name;

    /**
     * 性别
     */
    @TableField(value = "gender")
    private String gender;

    /**
     * 出生日期
     */
    @TableField(value = "birthday")
    private Date birthday;

    /**
     * 身份证号
     */
    @TableField(value = "identity_card")
    private String identityCard;

    /**
     * 婚姻状况
     */
    @TableField(value = "wedlock")
    private String  wedlock;

    /**
     * 民族
     */
    @TableField(value = "nation_id")
    private Integer nationId;

    /**
     * 籍贯
     */
    @TableField(value = "native_place")
    private String nativePlace;

    /**
     * 政治面貌
     */
    @TableField(value = "politic_id")
    private Integer politicId;

    /**
     * 邮箱
     */
    @TableField(value = "email")
    private String email;

    /**
     * 电话号码
     */
    @TableField(value = "phone")
    private String phone;

    /**
     * 联系地址
     */
    @TableField(value = "address")
    private String address;

    /**
     * 所属部门
     */
    @TableField(value = "department_id")
    private Integer departmentId;

    /**
     * 职称ID
     */
    @TableField(value = "job_level_id")
    private Integer jobLevelId;

    /**
     * 职位ID
     */
    @TableField(value = "position_id")
    private Integer positionId;

    /**
     * 聘用形式
     */
    @TableField(value = "engage_form")
    private String engageForm;

    /**
     * 最高学历
     */
    @TableField(value = "tiptop_degree")
    private String tiptopDegree;

    /**
     * 所属专业
     */
    @TableField(value = "specialty")
    private String specialty;

    /**
     * 毕业院校
     */
    @TableField(value = "school")
    private String school;

    /**
     * 入职日期
     */
    @TableField(value = "begin_date")
    private Date beginDate;

    /**
     * 在职状态
     */
    @TableField(value = "work_state")
    private String workState;

    /**
     * 工号
     */
    @TableField(value = "work_no")
    private String workNo;

    /**
     * 合同期限
     */
    @TableField(value = "contract_term")
    private Double contractTerm;

    /**
     * 转正日期
     */
    @TableField(value = "conversion_time")
    private Date conversionTime;

    /**
     * 离职日期
     */
    @TableField(value = "not_work_date")
    private Date notWorkDate;

    /**
     * 合同起始日期
     */
    @TableField(value = "begin_contract")
    private Date beginContract;

    /**
     * 合同终止日期
     */
    @TableField(value = "end_contract")
    private Date endContract;

    /**
     * 工龄
     */
    @TableField(value = "work_age")
    private Integer workAge;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}